<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="fyicon.ico">
    <meta name="format-detection" content="telephone=no" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>飞扬报修系统</title>

<link href="__PUBLIC__/css/bootstrap.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.css" rel="stylesheet">
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>

<body>
<input type="hidden" id="token" value="@#$_GET['token']#@">
 <div class="navbar navbar-fixed-bottom navbar-inverse" role="navigation">
       <div class="container">   
       	  <ul class="nav nav-pills">
           <li><a href="__APP__/Home/StaffPage/add?token=@#$_GET['token']#@">一键接单</a></li>
            <li class="active"><a href="__APP__/Home/StaffPage/not?token=@#$_GET['token']#@">查看订单</a></li>
            <li><a href="__APP__/Home/AccountPage/logout">退出</a></li>
          </ul>
       </div>
    </div>
<div class="container1">
<br><center><h3>我的维修单</h3></center>
	<ul class="nav nav-tabs">
	  <li><a href="__APP__/Home/StaffPage/not?token=@#$_GET['token']#@">未完成(@#$count_not#@)</a></li>
	  <li class="active"><a href="__APP__/Home/StaffPage/has?token=@#$_GET['token']#@">已完成(@#$count_has#@)</a></li>
	</ul>
	<foreach name="info" item="vo">
	<div class="jumbotron"><!--每一个订单-->
      <div>
    	<p class="text-success">订单号：@#$vo.number#@</p><!--订单号-->
    	<hr>
        <p>订单状态：<if condition="$vo.status eq 1">
						待确认接单						
						<elseif condition="$vo.status eq 2" />
						用户已取消该订单
						<elseif condition="$vo.status eq 3" />
						待维修
						<elseif condition="$vo.status eq 4" />
						该订单已完成
						</if></p>
        <p>客户姓名：@#$vo.name#@</p>
        <p>联系方式：+86@#$vo.phone#@</p>
    	<p>电脑信息：@#$vo.brand#@@#$vo.model#@-@#$vo.buy_time|date="Y",####@年购买</p>
		  <p>报修时间：@#$vo.time|date='Y年m月d日 H:i',####@</p>
      	<p>故障信息：@#$vo.description#@</p>

	  </div>
    </div>
    </br>
    </foreach>
    @#$page#@ <br>
</div> 

<script type="text/javascript">

</script>
</body>
</html>
